home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: netcom.com!marnold
- From: marnold@netcom.com (Matt Arnold)
- Subject: Re: converting strings to ints??
- Message-ID: <marnoldDMLyuM.9Io@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- References: <4fk223$s6k@newsbf02.news.aol.com>
- Date: Sun, 11 Feb 1996 11:06:21 GMT
- Sender: marnold@netcom4.netcom.com
-
- possum4456@aol.com (Possum4456) writes:
-
- >Is there a function, I heard it was in stdio.h, that converts a string of
- >numbers to integers so they can be added or whatever?:-)
-
- atoi() // name comes from "ANSI to integer"
-
-
- Don't you have any documentation with your compiler or at least a good
- "C" book? This is basic stuff. This wasn't even a C++ question. Try
- comp.lang.c next time.
-
- -------------------------------------------------------------------------
- Matt Arnold | | ||| | |||| | | | || ||
- marnold@netcom.com | | ||| | |||| | | | || ||
- Boston, MA | 0 | ||| | |||| | | | || ||
- 617.389.7384 (h) 617.576.2760 (w) | | ||| | |||| | | | || ||
- C++, MIDI, Win32/95 developer | | ||| 4 3 1 0 8 3 || ||
- -------------------------------------------------------------------------
-